package gui.help;

import common.Constants;

/**
 * Maintains key information about the product.
 * Covers Requirement 5.2
 * @author William Whitney
 */
public class AboutBoxInfo
{

    /** Title of application */
    private static String title = "Automatic JUnit Creation Tool";
    /** Description of application */
    private static String description = "A full featured application to help "
            + "\ncreate JUnit tests for Java source files.";
  
    /** Home page of product */
    private static String homepage = "https://sourceforge.net/projects/amaticjunittool";

    /**
     * Returns the title of the software.
     * @return String software title
     */
    public String getTitle()
    {
        return title;
    }

    /**
     * Returns the software description.
     * @return String software description
     */
    public String getDescription()
    {
        return description;
    }

    /**
     * Returns the software version information.
     * @return String software version.
     */
    public String getVersion()
    {
        return String.valueOf(Constants.version);
    }

    /**
     * Returns the home page of the product.
     * @return String URL
     */
    public String getHomepage()
    {
        return homepage;
    }
}
